SAMSUNG FARA-N communication driver

 

SAMSUNG FARA-N Communication Driver is the driver to communicate with FARA-N PLC of SAMSUNG in Korea.

1. Read settings

 

<Figure 1> is read setting example of SAMSUNG FARA-N communication driver .

 

 
<Figure 1>  Read setting example of SAMSUNG FARA-N communication driver

 

Device Setting of <Figure 1> are input, Com Port(COM7), Com Speed(115200), Parity Bit(1), Data Bit(8), Stop Bit(1).

Also whether to use of new protocol(0 = do not use, 1 = use, default = 0) is set by using option part.

 

SAMSUNG FARA-N communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – PLC address1 ~ 63 or 238 = Loader Porter).

2) Read Command – read memory type or command. (Refer to <Table 1>)

3) Read Start Address – read start number of memory type.

4) Save Start Address for Communication Server – saveing start address of Communication Server.

5) Read Size – read wird size of word unit.

 

Read schedule example)

READ, 1, X, 0, 0, 2,
READ, 1, Y, 0, 2, 2,
READ, 1, R, 0, 4, 2,
READ, 1, L, 0, 6, 2,
READ, 1, T, 0, 8, 2,
READ, 1, C, 0, 10, 2,
READ, 1, DT, 0, 12, 2,
READ, 1, FL, 0, 14, 2,
READ, 1, Ld, 0, 16, 2,
READ, 1, IX, 0, 18, 1,
READ, 1, IY, 0, 19, 1,
READ, 1, SV, 0, 20, 2,
READ, 1, EV, 0, 22, 2,
DWORD, 1, ID, 0, 0, 1,

 

<Table 1> is a description of read commands type of SAMSUNG FARA-N communication driver.

Command
(memory type)
Contents Read Bit Write Word Write
X Input Memory Enable Disable Disable
Y Output Memory Enable Enable Enable
R Internal Relay Data Enable Enable Enable
L Link Relay Data Enable Enable Enable
T Timer Enable Disable Disable
C Counter Enable Disable Disable
DT Data Register Enable Disable Enable
FL File Register Enable Disable Enable
Ld Link Register Enable Disable Enable
IX Index Register X Enable Disable Enable
IY Index Register Y Enable Disable Enable
SV Timer/Counter Setting Enable Disable Enable
EV Timer/Counter Elapse Enable Disable Enable
ID 2Word Index Register Enable Disable Enable
MG Monitor Data Read Enable - -
<Table 1> Read commands type of SAMSUNG FARA-N Communication Driver

 

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.

 
<Figure 2> Example of SAMSUNG FARA-N Communication Driver¡¯s Option dialogue box

 

Whether to use of new protocol is set by using by using the part of 'Use New Protocol¡¯ shown in <Figure 2>

You can set read schedule by using , ,  button and listbox of <Figure 2>.

<Figure 3> Example of SAMSUNG FARA-N communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

 

2. Write settings

You can change the memory values of FARA-N PLC by using write settings.

 

Bit write 

Bit write setting parameters are as follows:

1)  PORT :  Port no. (0 ~ 255)

2)  STATION : PLC address(1 ~ 63 or 238).

3)  ADDRESS : write address of memory type.

4)  EXTRA 1 : write memory type = Y, R, L.

5)  EXTRA 2 : Don't care.

 

Write example 1)

PORT:0,  station:238, ADDRESS:0000, Extra1:Y  Extra2 :

The setting parameter shown above is an example of bit write for Y0000 memory of FARA-N PLC connected with 0 port, 238 PLC address.

 

 

Word write

Word write setting parameters are as follows:

1)  PORT : Port no. (0 ~ 255)

2)  STATION : PLC address(1 ~ 63 or 238).

3)  ADDRESS : write address of memory type.

4)    EXTRA 1 : write memory type = Y,R,L,DT,FL,Ld,IX,IY,ID,SV,EV, MD.xxy(Refer to <Table 2>), MC.y(Refer to <Table 2>)

5)    EXTRA 2 : 1 = When exceeding 9999 write address of DT, FL, Ld memory type.

             0 or other=  Don't care.

 

<Table 2> is a description of monitor data(MD) and monitor point(MC) write commands for SAMSUNG FARA-N communication driver.

Monitor Register Write Command Type Content Remark
MD.xx Monitor Data(Word) Register xx = DT, FL, Ld, IX, IY, SV, EV, WX, WY, WR, WL
MD.CL Reset of Monitor Data Register  
MC.y Monitor Point(Bit) Register y = X, Y, R, L, T, C
MC.CL  Reset of Monitor Point Register  
<Table 2> Monitor data(MD) and monitor point(MC) write commands for SAMSUNG FARA-N communication driver

 

Write example 1)

PORT:0, Station:238, Address:0010, Extra1:SV Extra2 : 0

The setting parameter shown above is an example of word write for S0010(timer/counter setting memory type) memory of FARA-N PLC connected with 0 port, 238 PLC address.

 

¼³Á¤ ¿¹2)

PORT:0, Station:238, Address:0123, Extra1:DT, Extra2:1

The setting parameter shown above is an example of word write for D10123(Data Register) memory of FARA-N PLC connected with 0 port, 238 PLC address.

 

 

3. Connetction of serial cable

You have to connect serial communication cable in the following ways.

 

Connection of serial communication cable

You can connect  normal RS-232C  communication cable to FARA-N PLC and PC.

<Figure 4> shows the appearance of FARA-N PLC.

<Figure 4> Appearance of FARA-N PLC